using System;
using System.Web;
using System.Web.UI;

namespace Sedna.Core.Controller.Configurations
{
	/// <summary>
	/// Special case implemetation of IDataTranslator.
	/// </summary>
	public class TrivialDataTranslator: IDataTranslator
	{
		public object Translate(Control control, object value)
		{
			return Translate(control, value, null);
		}

		public object Translate(Control control, object value, Type targetType)
		{
			return value;
		}
	}
}
